/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/**
 * @Title: GoodsLite.java
 * @Package phoenics.apeak.simple.entity
 * @Description
 * @author phoenics@126com
 * @date 2016-1-30 16:01:31
 * @version V1.0
 */
package phoenics.apeak.simple.entity;

// TODO: Auto-generated Javadoc
/**
 * The Class GoodsLite.
 *
 * @Description The Class GoodsLite.
 */
public class GoodsLite {
	
	/**
 * The Class Stock.
 *
 * @Description The Class Stock.
 */
	public static class Stock {

		/** The color. */
		private String color;
		
		/** The size. */
		private String size;
		
		/**
 * Gets the color.
 *
 * @return the color
 */
		public String getColor() {
			return color;
		}
		
		/**
 * Sets the color.
 *
 * @param color
 *            the new color
 */
		public void setColor(String color) {
			this.color = color;
		}
		
		/**
 * Gets the size.
 *
 * @return the size
 */
		public String getSize() {
			return size;
		}
		
		/**
 * Sets the size.
 *
 * @param size
 *            the new size
 */
		public void setSize(String size) {
			this.size = size;
		}
	}
	
	/**
 * The Class Brand.
 *
 * @Description The Class Brand.
 */
	public static class Brand{
		
		/**
 * The Constructor.
 *
 * @param name
 *            the name
 * @param hand
 *            the hand
 * @Description Instantiates a new brand.
 */
		public Brand(String name, String hand){
			setName(name);
			setHand(hand);
		}
		 
 		/**
 * Gets the name.
 *
 * @return the name
 */
 		public String getName() {
			return name;
		}
		
		/**
 * Sets the name.
 *
 * @param name
 *            the new name
 */
		public void setName(String name) {
			this.name = name;
		}
		
		/**
 * Gets the hand.
 *
 * @return the hand
 */
		public String getHand() {
			return hand;
		}
		
		/**
 * Sets the hand.
 *
 * @param hand
 *            the new hand
 */
		public void setHand(String hand) {
			this.hand = hand;
		}
		
		/** The name. */
		String name; 
		
		/** The hand. */
		String hand;
	}
	
	/**
 * Gets the name.
 *
 * @return the name
 */
	public String getName() {
		return name;
	}

	/**
 * Sets the name.
 *
 * @param name
 *            the new name
 */
	public void setName(String name) {
		this.name = name;
	}

	/**
 * Gets the currency.
 *
 * @return the currency
 */
	public String getCurrency() {
		return currency;
	}

	/**
 * Sets the currency.
 *
 * @param currency
 *            the new currency
 */
	public void setCurrency(String currency) {
		this.currency = currency;
	}

	/**
 * Gets the total price.
 *
 * @return the total price
 */
	public int getTotalPrice() {
		return totalPrice;
	}

	/**
 * Sets the total price.
 *
 * @param totalPrice
 *            the new total price
 */
	public void setTotalPrice(int totalPrice) {
		this.totalPrice = totalPrice;
	}

	/**
 * Gets the brand.
 *
 * @return the brand
 */
	public Brand getBrand() {
		return brand;
	}

	/**
 * Sets the brand.
 *
 * @param brand
 *            the new brand
 */
	public void setBrand(Brand brand) {
		this.brand = brand;
	}

	/**
 * Gets the stock.
 *
 * @return the stock
 */
	public Stock getStock() {
		return stock;
	}

	/**
 * Sets the stock.
 *
 * @param stock
 *            the new stock
 */
	public void setStock(Stock stock) {
		this.stock = stock;
	}

	/** The name. */
	private String name;                  //产品的名称
	
	/** The currency. */
	private String currency;              //标价使用的货币名称简写,例如 美元,使用USD
	
	/** The total price. */
	private int  totalPrice;                  //价格
	
	/** The brand. */
	private Brand brand;
	
	/** The stock. */
	private Stock stock;
}
